<!DOCTYPE HTML PUBLIC "-//W3C//DTDHTML 4.0 Transitional//EN"> 
<html>
<head>
	<title>后台首页</title>
	<include file="Public:jsandcss" />
	<script type="text/javascript">
	$(function(){
		$("#toAddVmovie").click(function(){
			window.location.href="__URL__/toAddVmovie";
		});
	});
	function delEvent(id){
		if(window.confirm("确定要删除这个活动吗？")){
			$.post("__URL__/delVmovie/id/"+id,function(data){
				if(data==1){
					window.location.reload();
				}
			});
		}
	}
	</script>
	<style type="text/css">
		html,body{width:100%;height:100%;margin: 0 0 0 0;overflow: hidden;}
	</style>
</head>

	<body>
		<include file="Public:header" />
		<input type="button" value="新增活动" id="toAddVmovie"/>
		<table border="1" width="100%" cellpadding="0" cellspacing="0">
			<tr height="35">
				<td>标题</td>
				<td>关键词</td>
				<td>简单说明</td>
				<td>创建时间</td>
				<td>操作</td>
			</tr>
		
		<volist name="list" id="vo">
				<tr>
					<td>{$vo.title}</td>
					<td>{$vo.keys}&nbsp;</td>
					<td>{$vo.remarks}</td>
					<td>{$vo.createDate}</td>
					<td width="200">
						<a href="javascript:;" onclick="delEvent('{$vo.id}')" class="del">删除</a>&nbsp;
						<a href="__URL__/editVmovie/id/{$vo.id}" class="edit">编辑</a>&nbsp;
						<a href="__URL__/editEvent/id/{$vo.id}" class="edit">预览</a>&nbsp;
					</td>
				</tr>
			</volist>
		</table>
		<div class="title">{$page}
			<input type="hidden" id="hid" value="{$p}">
			<input type="hidden"" id="listrow" value="{$listrow}">
		</div>
	</body>
</html>
